<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="../mi/css/yangshi.css">
    <style>
        ul{
            width: 1210px;
            height: 48px;
            line-height: 48px;
            margin: 50px auto;
            background-color: #ebe7e3;
            /* 设置弹性容器 */
            display: flex;

        }
        .nav li{
            /* 设置为增长系数 */
            flex-grow: 1;
        }
        .nav a{
            display: block;
            font-size: 16px;
            text-decoration: none;
            color: #808080;
            text-align: center;

        }
        .nav a:hover{
            background-color: #636363;
            color: #fff;
        }
    </style>
</head>
<body>
    <ul class="nav">
        <li><a href="#">html/css</a></li>
        <li><a href="#">browser side</a></li>
        <li><a href="#">server side</a></li>
        <li><a href="#">programming</a></li>
        <li><a href="#">xml</a></li>
        <li><a href="#">web building</a></li>
        <li><a href="#">referense</a></li>
    </ul>
</body>
</html>